#ifndef XINFOMATIPTYPEPARSER_H
#define XINFOMATIPTYPEPARSER_H

#include "infomatconfigdefine.h"
#include "xinfomattypeparserbase.h"

class QByteArray;

class XInfomatIpTypeParser: public XInfomatTypeParserBase
{
public:
    XInfomatIpTypeParser();
    ~XInfomatIpTypeParser();

    void getResource(QByteArray in_datagram);
    QByteArray getOutDatagram(void);

    void read(void);
    void write(void);

private:
    STInfomatIpType  m_ipType;
    uint8_t m_result;
};

#endif // XINFOMATIPTYPEPARSER_H
